home *** CD-ROM | disk | FTP | other *** search
- I can't say that I have run this, but it compiled cleanly under
- Linux with the Digital UNix makefile as soon as I made some changes
- to the comments in the code:
-
- 1) gcc doesnt like // style comments, so I converted them with this
- shell script:
-
- #!/bin/bash
- for FILE in *.[ch] ; do
- gawk '/\/\// {gsub(/\/\//,"/*");$0=$0" */"} {print}' < $FILE > foo
- mv foo $FILE
- done
-
- 2) surface.c had a copule of nested comments like this:
-
- /* this is /* a comment */ really */
-
- and gcc would try to parse the "really". I removed the first instence if
- the "*/"
-
- Let me know how this program runs.
-
- - set@netcom.com
-
-